# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/Users/dewey/workspacepython/QPyGIS/ui_gen/measure_dialog.ui'
#
# Created: Fri Oct 25 11:42:33 2013
#      by: PyQt4 UI code generator 4.10.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(500, 273)
        self.verticalLayout_3 = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.splitter = QtGui.QSplitter(Dialog)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.savedList = QtGui.QListWidget(self.layoutWidget)
        self.savedList.setObjectName(_fromUtf8("savedList"))
        self.verticalLayout.addWidget(self.savedList)
        self.clearSaved = QtGui.QPushButton(self.layoutWidget)
        self.clearSaved.setAutoDefault(False)
        self.clearSaved.setObjectName(_fromUtf8("clearSaved"))
        self.verticalLayout.addWidget(self.clearSaved)
        self.tabWidget = QtGui.QTabWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.distance = QtGui.QWidget()
        self.distance.setObjectName(_fromUtf8("distance"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.distance)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.txtDistance = QtGui.QLineEdit(self.distance)
        self.txtDistance.setText(_fromUtf8(""))
        self.txtDistance.setObjectName(_fromUtf8("txtDistance"))
        self.horizontalLayout_2.addWidget(self.txtDistance)
        self.distanceCopy = QtGui.QPushButton(self.distance)
        self.distanceCopy.setAutoDefault(False)
        self.distanceCopy.setObjectName(_fromUtf8("distanceCopy"))
        self.horizontalLayout_2.addWidget(self.distanceCopy)
        self.distanceSave = QtGui.QPushButton(self.distance)
        self.distanceSave.setAutoDefault(False)
        self.distanceSave.setDefault(False)
        self.distanceSave.setObjectName(_fromUtf8("distanceSave"))
        self.horizontalLayout_2.addWidget(self.distanceSave)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.unitDistance = QtGui.QComboBox(self.distance)
        self.unitDistance.setObjectName(_fromUtf8("unitDistance"))
        self.unitDistance.addItem(_fromUtf8(""))
        self.unitDistance.addItem(_fromUtf8(""))
        self.unitDistance.addItem(_fromUtf8(""))
        self.unitDistance.addItem(_fromUtf8(""))
        self.unitDistance.addItem(_fromUtf8(""))
        self.unitDistance.addItem(_fromUtf8(""))
        self.horizontalLayout_3.addWidget(self.unitDistance)
        self.label_2 = QtGui.QLabel(self.distance)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_3.addWidget(self.label_2)
        self.precisionDistance = QtGui.QSpinBox(self.distance)
        self.precisionDistance.setMinimum(0)
        self.precisionDistance.setMaximum(6)
        self.precisionDistance.setObjectName(_fromUtf8("precisionDistance"))
        self.horizontalLayout_3.addWidget(self.precisionDistance)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.tabWidget.addTab(self.distance, _fromUtf8(""))
        self.area = QtGui.QWidget()
        self.area.setObjectName(_fromUtf8("area"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.area)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.txtArea = QtGui.QLineEdit(self.area)
        self.txtArea.setObjectName(_fromUtf8("txtArea"))
        self.horizontalLayout_4.addWidget(self.txtArea)
        self.areaCopy = QtGui.QPushButton(self.area)
        self.areaCopy.setAutoDefault(False)
        self.areaCopy.setObjectName(_fromUtf8("areaCopy"))
        self.horizontalLayout_4.addWidget(self.areaCopy)
        self.areaSave = QtGui.QPushButton(self.area)
        self.areaSave.setAutoDefault(False)
        self.areaSave.setDefault(False)
        self.areaSave.setObjectName(_fromUtf8("areaSave"))
        self.horizontalLayout_4.addWidget(self.areaSave)
        self.verticalLayout_4.addLayout(self.horizontalLayout_4)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.unitArea = QtGui.QComboBox(self.area)
        self.unitArea.setObjectName(_fromUtf8("unitArea"))
        self.unitArea.addItem(_fromUtf8(""))
        self.unitArea.addItem(_fromUtf8(""))
        self.unitArea.addItem(_fromUtf8(""))
        self.unitArea.addItem(_fromUtf8(""))
        self.unitArea.addItem(_fromUtf8(""))
        self.unitArea.addItem(_fromUtf8(""))
        self.horizontalLayout.addWidget(self.unitArea)
        self.label_3 = QtGui.QLabel(self.area)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout.addWidget(self.label_3)
        self.precisionArea = QtGui.QSpinBox(self.area)
        self.precisionArea.setMinimum(0)
        self.precisionArea.setMaximum(6)
        self.precisionArea.setObjectName(_fromUtf8("precisionArea"))
        self.horizontalLayout.addWidget(self.precisionArea)
        self.verticalLayout_4.addLayout(self.horizontalLayout)
        self.label_4 = QtGui.QLabel(self.area)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout_4.addWidget(self.label_4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.txtPerimeter = QtGui.QLineEdit(self.area)
        self.txtPerimeter.setObjectName(_fromUtf8("txtPerimeter"))
        self.horizontalLayout_5.addWidget(self.txtPerimeter)
        self.perimeterCopy = QtGui.QPushButton(self.area)
        self.perimeterCopy.setAutoDefault(False)
        self.perimeterCopy.setObjectName(_fromUtf8("perimeterCopy"))
        self.horizontalLayout_5.addWidget(self.perimeterCopy)
        self.perimeterSave = QtGui.QPushButton(self.area)
        self.perimeterSave.setAutoDefault(False)
        self.perimeterSave.setObjectName(_fromUtf8("perimeterSave"))
        self.horizontalLayout_5.addWidget(self.perimeterSave)
        self.verticalLayout_4.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.unitPerimeter = QtGui.QComboBox(self.area)
        self.unitPerimeter.setObjectName(_fromUtf8("unitPerimeter"))
        self.unitPerimeter.addItem(_fromUtf8(""))
        self.unitPerimeter.addItem(_fromUtf8(""))
        self.unitPerimeter.addItem(_fromUtf8(""))
        self.unitPerimeter.addItem(_fromUtf8(""))
        self.unitPerimeter.addItem(_fromUtf8(""))
        self.unitPerimeter.addItem(_fromUtf8(""))
        self.horizontalLayout_6.addWidget(self.unitPerimeter)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem1)
        self.verticalLayout_4.addLayout(self.horizontalLayout_6)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem2)
        self.tabWidget.addTab(self.area, _fromUtf8(""))
        self.verticalLayout_3.addWidget(self.splitter)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Measure", None))
        self.label.setText(_translate("Dialog", "Saved Values", None))
        self.clearSaved.setText(_translate("Dialog", "Clear", None))
        self.distanceCopy.setText(_translate("Dialog", "Copy", None))
        self.distanceSave.setText(_translate("Dialog", "Save", None))
        self.unitDistance.setItemText(0, _translate("Dialog", "Kilometres", None))
        self.unitDistance.setItemText(1, _translate("Dialog", "Metres", None))
        self.unitDistance.setItemText(2, _translate("Dialog", "Centimetres", None))
        self.unitDistance.setItemText(3, _translate("Dialog", "Miles", None))
        self.unitDistance.setItemText(4, _translate("Dialog", "Feet", None))
        self.unitDistance.setItemText(5, _translate("Dialog", "Inches", None))
        self.label_2.setText(_translate("Dialog", "Precision", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.distance), _translate("Dialog", "Distance", None))
        self.areaCopy.setText(_translate("Dialog", "Copy", None))
        self.areaSave.setText(_translate("Dialog", "Save", None))
        self.unitArea.setItemText(0, _translate("Dialog", "Square Kilometres", None))
        self.unitArea.setItemText(1, _translate("Dialog", "Hectares", None))
        self.unitArea.setItemText(2, _translate("Dialog", "Square Metres", None))
        self.unitArea.setItemText(3, _translate("Dialog", "Square Miles", None))
        self.unitArea.setItemText(4, _translate("Dialog", "Acres", None))
        self.unitArea.setItemText(5, _translate("Dialog", "Square Feet", None))
        self.label_3.setText(_translate("Dialog", "Precision", None))
        self.label_4.setText(_translate("Dialog", "Perimeter:", None))
        self.perimeterCopy.setText(_translate("Dialog", "Copy", None))
        self.perimeterSave.setText(_translate("Dialog", "Save", None))
        self.unitPerimeter.setItemText(0, _translate("Dialog", "Kilometres", None))
        self.unitPerimeter.setItemText(1, _translate("Dialog", "Metres", None))
        self.unitPerimeter.setItemText(2, _translate("Dialog", "Centimetres", None))
        self.unitPerimeter.setItemText(3, _translate("Dialog", "Miles", None))
        self.unitPerimeter.setItemText(4, _translate("Dialog", "Feet", None))
        self.unitPerimeter.setItemText(5, _translate("Dialog", "Inches", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.area), _translate("Dialog", "Area", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Dialog = QtGui.QDialog()
    ui = Ui_Dialog()
    ui.setupUi(Dialog)
    Dialog.show()
    sys.exit(app.exec_())

